package net.lzzy.mapper;

import net.lzzy.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {

    public Article selectArticleById(Integer id);

    public List<Article> selectArticleByTitle(String title);

    public int updateArticle(Article article);
}
